<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>原始html</title>
    <script src="./vue.js"></script>
</head>
<body>
    <div id="app02-02">
        <p>普通文本：{{rawHtml}}</p>
        <p>HTML代码：<span v-html="rawHtml"></span></p>
    </div>
</body>
<script>
    var vm = new Vue({
        el: '#app02-02',
        data: {
            rawHtml: '<span style="color: red">This should be red.</span>'
        }
    })
</script>
</html>